package com.qbm.association.config;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@SpringBootConfiguration
@ConfigurationProperties(prefix = "jwt")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Audience {

    /*
     * 代表这个jwt的接受对象
     */
    private String clientid;

    private String base64Secret;

    private String name;

    private int expiresSecond;
}